package com.kimehwa.studyboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
import org.springframework.scheduling.annotation.EnableAsync;


@EnableAsync
@EnableMongoRepositories(basePackages = "com.kimehwa.studyboot.controller")
@SpringBootApplication(exclude = MongoAutoConfiguration.class)
@MapperScan("com.kimehwa.studyboot.mapper")
public class StudyBootApplication {

    public static void main(String[] args) throws ClassNotFoundException {
        SpringApplication.run(StudyBootApplication.class, args);
//        Class<?> aClass = Class.forName("com.kimehwa.studyboot.bean.User");
//        System.out.println(aClass.getName());
    }

}
